Enter a number from 1-31 and watch how different data structures find it. Notice the number of steps each takes.
Checks each element one by one from the beginning.
Repeatedly divides the search interval in half. Requires sorted data.
Linear Search Steps: 0
Tree Search Steps: 0